package com.example.pcl.utils;


import org.jetbrains.annotations.NotNull;
import org.springframework.util.DigestUtils;

/**
 * 工具类
 */
public class Util {
    public static @NotNull String encryptPassword(@NotNull String password) {
        return DigestUtils.md5DigestAsHex(password.getBytes());
    }
}
